TARGET = 2PongPSP
OBJS = src/ai.o src/balls.o src/CSprite.o src/CSpriteBase.o src/defs.o src/draw.o src/font.o src/game.o src/main.o src/menu.o src/net.o src/paddles.o src/physics.o src/powerups.o src/PSP.o

INCDIR = 
CFLAGS = -O2 -G0 -Wall -I$(PSPDEV)/psp/include/libxml2 $(shell $(PSPBIN)/sdl-config --cflags) -D__PSP__
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)

LIBDIR =
LDFLAGS =

LIBS += -lxml2 -lSDL_net -lm -lz -lstdc++ $(shell $(PSPBIN)/sdl-config --libs)

EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = 2PongPSP

PSPSDK=$(shell psp-config --pspsdk-path)
PSPBIN = $(PSPSDK)/../bin
include $(PSPSDK)/lib/build.mak

